﻿

namespace Common.Algorithm.Core.LocalTest;

public class KruskalExecute
{
    public static void Run(IEnumerable<GraphEdge> edges)
    {
        KruskalService kruskal = new KruskalService();
        var records = kruskal.RunAlgm(edges).ToList();
        Console.WriteLine($"{records.Count()}");
    }

    public static void Execute()
    {
        Run(GraphGenerator.GenUNndirectalWeightGraph());
    }
}
